package com.bw.service.impl;

import com.bw.entity.JobInfo;
import com.bw.mapper.JobInfoMapper;
import com.bw.service.JobInfoService;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class JobInfoServiceImpl implements JobInfoService {

    @Autowired
    JobInfoMapper jobInfoMapper;

    @Transactional
    @Override
    public void addJob(JobInfo jobInfo) {
        jobInfoMapper.addJob(jobInfo);
    }
}
